﻿using Cinemachine;
using UnityEngine;

//限制相机的范围
[RequireComponent(typeof(PolygonCollider2D))]
public class CameraConfiner : MonoBehaviour
{
    public PolygonCollider2D PolygonCollider { get; private set; }
    private void Awake()
    {
        PolygonCollider = GetComponent<PolygonCollider2D>();
    }
}

